package per.jdz.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import per.jdz.demo.domain.vo.reponse.ApiResult;
import per.jdz.demo.service.LandDataService;

import javax.annotation.Resource;

/**
 * @author Jdz
 * @date 2025/1/8
 */
@RestController
public class LandDataController {
    @Resource
    private LandDataService landDataService;

    @GetMapping("/")
    public ApiResult index() {
        return ApiResult.success(landDataService.getById(1));
    }
}
